﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PServiceBus.Core.Runtime;

namespace PServiceBus.Gateway.ZeroMQ {
    public static class ZeroMQEndpointUri {
        public static string Parse(string address) {
            var endpoint = EndpointUri.Parse(address);
            return String.Format("tcp://{0}:{1}", endpoint.Host, endpoint.Port);
        }
    }
}
